package com.project;

class Department {
	private int depno;
	private String depname;
	private String depmanager;
	public Department(){}
	public Department(int depno,String depname,String depmanager){
		this.depno=depno;
		this.depname=depname;
		this.depmanager=depmanager;
	}
	public int getDepno(){
		return depno;
	}
	public void setDepno(int depno){
		this.depno=depno;
	}
	public String getDepname(){
		return depname;
	}
	public void setDepname(String depname){
		this.depname=depname;
	}
	public String getDepmanager(){
		return depmanager;
	}
	public void setDepmanager(String depmanager){
		this.depmanager=depmanager;
	}
	public String toString(){
		return "部门编号为:"+depno+"\t部门名称为:"+depname+"\t部门经理为:"+depmanager;
	}
}
